package com.yfqy.app.modules.promotion.vo;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class PromotionRuleVO {

    private Long promotionId;

    // 规则类型:1-满减 2-折扣 3-特价价 4-拼团
    private Byte ruleType;


    // 满减门槛金额
    private BigDecimal fullAmount;
    // 满减优惠金额
    private BigDecimal reduceAmount;


    // 折扣率1~9
    private BigDecimal discount;


    // 拼团人数要求
    private Integer groupSize;
    // 拼团有效时间，单位分
    private Integer validTime;
    /**
     * 拼团发起人优惠金额
     */
    private BigDecimal initiatorReduceAmount;

}
